package com.smartdio.mindtrain;

import java.io.File;


/**
 * 主要的设置参数
 * @author smart
 *
 */
public class Mind {
	
	/**
	 * 没张图片的尺寸为 128*128
	 */
	final static public int IMAGESIZE = 128 ;
	
	/**
	 * 等级的图片数量
	 */
	final static public int[] levels = new int[]{4,6,9,20,30,40};
	
	

	/**
	 * 图片库的文件夹
	 */
	static private String imagePath = "E:\\MyFile\\mindtrain\\images";
	
	static public String getImagePath(){
		String path = System.getProperty("user.dir")+File.separator+"images";
		File dir = new File(path);
		if(dir.exists())return path ;
		return imagePath;
	}
}
